package chapter_23_stragtegy.enum_strategy;

import java.util.Calendar;

/**
 * @author yaochenglong
 * @date 2017/10/20
 */
public class Client {
    public static void main(String[] args) {
        int a = 3, b = 4;
        System.out.println("a + b =" + Calculator.ADD.exec(a, b));
        System.out.println("a - b =" + Calculator.SUB.exec(a, b));
        System.out.println("a * b =" + Calculator.MULTUPY.exec(a, b));
        System.out.println("a / b =" + Calculator.DIVIDE.exec(a, b));
    }
}
